﻿using FluentValidation;

namespace Grundy.Message.Administration
{
    public class ServerCommandRequestValidator : AbstractValidator<ServerCommandRequest>
    {
        public ServerCommandRequestValidator()
        {
            this.CascadeMode = CascadeMode.Continue;
            RuleFor(r => r.Command).NotEqual(ServerCommand.None);
        }
    }
}